import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

//在这个文件统一将仓库导出
export * from './modules/user'
//上面这句话相当于
/* import { useUserStore } from './modules/user'
export{useUserStore} */
